package nest.bb.spike

class Person {

	String firstName
	String lastName
	List<EmergencyContact> emergencyContacts

	static hasMany = [
		emergencyContacts: EmergencyContact
	]

	static constraints = {
		firstName	(nullable: false, blank: false)
		lastName	(nullable: false, blank: false)
	}
}
